<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<c:set var="language" value="${not empty param.language ? param.language : not empty language ? language : pageContext.request.locale}" scope="session" />
<fmt:setLocale value="${language}" />
<fmt:setBundle basename="properties.text" />
<title><fmt:message key="users" /></title>
</head>
<body>
<form action="userServlet" method="POST" style="margin-left:5%;margin-top:2%;margin-bottom:2%">
           	<input type="text" name="NameSearch" id="NameSearch" value="" />
           	 <select name="searchUser" id="searchUser">
 				 		<option value="firstName"><fmt:message key="firstname" /></option>
  						<option value="lastName"><fmt:message key="lastname" /></option>
					  </select>
			<input type="submit" value=<fmt:message key="search" /> name="searchUserButton"/>
            <br>
            </form>
</body>
</html>